')[0].src = this; }); }
$(
['display_images/Peoples/large/01.jpg','display_images/Peoples/large/02.jpg','images/0left_arrow.jpg','images/0right_arrow.jpg','images/about.jpg','images/aboutus3.jpg','images/close.gif','images/contact.jpg','images/contact_back1.jpg','images/left_arrow.jpg','images/mission.jpg','images/logo.jpg','images/right_arrow.jpg','images/underconstruction.jpg','images/vision.jpg',
'display_images/large/C_01.jpg','display_images/large/C_02.jpg','display_images/large/C_03.jpg','display_images/large/P_01.jpg','display_images/large/P_02.jpg','display_images/large/P_03.jpg','display_images/large/P_04.jpg','display_images/large/P_05.jpg','display_images/large/P_06.jpg','display_images/large/P_07.jpg','display_images/large/P_08.jpg','display_images/large/P_09.jpg','display_images/large/P_10.jpg','display_images/large/P_11.jpg','display_images/large/P_12.jpg','display_images/large/P_13.jpg','display_images/large/P_14.jpg','display_images/large/P_15.jpg','display_images/large/P_16.jpg','display_images/Peoples/large/01.jpg','display_images/Peoples/large/02.jpg','display_images/Peoples/large/03.jpg','display_images/Peoples/large/04.jpg','display_images/Peoples/large/05.jpg','display_images/Peoples/large/06.jpg','display_images/Peoples/large/07.jpg','display_images/Peoples/large/08.jpg','display_images/Peoples/large/09.jpg','display_images/Peoples/large/10.jpg','display_images/Peoples/large/11.jpg','display_images/Peoples/large/12.jpg','display_images/Peoples/large/13.jpg','display_images/Peoples/large/14.jpg','display_images/Peoples/large/15.jpg','display_images/Peoples/large/16.jpg']
).preload();
function showDiv (htmlStr) { htmlStr=""; $('#fullSize').html(htmlStr).fadeIn(300); currentLarge = $('#fullSize img').attr('class'); currentLarge = currentLarge.substr(1,3); $('#imageNumber').css('padding-top','8px'); $('#imageNumber').html('' + currentLarge + ' of ' + total + '' ); }
autoPlay()
$('#autoPlay') .toggle(function(){ $('#autoPlay') .css("backgroundImage", "url(stop.gif)").attr("alt", "Stop").attr("title", "Stop"); },function(){ clearTimeout(timer); $('#autoPlay') .css("backgroundImage", "url(play.gif)").attr("alt", "Play").attr("title", "Play"); }); }
function autoPlay () { currentLarge = $('#fullSize img').attr('class'); if ("p"+(total-1) == currentLarge) { $('#clickRight').css("backgroundImage", "url(blank.gif)").attr("alt", "").attr("title", ""); }
if ("p" + total != currentLarge) { $('#clickLeft').css("backgroundImage", "url(previous.gif)").attr("alt", "Previous").attr("title", "Previous"); htmlStr = $('#innerContainer li.'+currentLarge).next('li').html(); $('#fullSize') .fadeOut(300, function(){playDiv(htmlStr)}); }
if ("p"+(total) == currentLarge) { $('#clickLeft').css("backgroundImage", "url(blank.gif)").attr("alt", "") .attr("title", ""); $('#clickRight') .css("backgroundImage", "url(next.gif)").attr("alt", "Next") .attr("title", "Next"); htmlStr = $('#innerContainer li.p1').html(); $('#fullSize') .fadeOut(300, function(){playDiv(htmlStr)}); } timer = setTimeout ("autoPlay()", showTime); }
function playDiv (htmlStr) { $('#fullSize').html(htmlStr).fadeIn(300); currentLarge = $('#fullSize img').attr('class'); currentLarge = currentLarge.substr(1,3); $('#imageNumber').html('' + currentLarge + ' / ' + total + '' ); } $(document).ready(function(){ $('#gallerytable').fadeIn(5000); });
![]() Kokila Cottage
|